package net.huashitong.ssydt.user.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.08.14
 */
public class RegisterThirdAccount extends BaseLoginVO {

    private static final long serialVersionUID = -8637815881303684747L;

    @ApiModelProperty(value = "第三方帐号名称（WeChat, QQ, Weibo）", hidden = true)
    private String thirdAccount;//第三方帐号名称

    @ApiModelProperty(value = "第三方平台唯一凭证", required = true)
    @NotBlank(message = "第三方平台唯一凭证不能为空")
    private String token;//第三方平台唯一凭证

    @ApiModelProperty(value = "手机号码", required = true)
    private String mobile;//手机号码

    @ApiModelProperty(value = "验证码", required = true)
    private String vaildCode;//验证码

    @ApiModelProperty(value = "昵称")
    private String nickname;//昵称

    @ApiModelProperty(value = "性别（男，女）")
    private String gender;//性别

    @ApiModelProperty(value = "省份")
    private String province;//省份

    @ApiModelProperty(value = "城市")
    private String city;//城市

    @ApiModelProperty(value = "county")
    private String county;//县区

    @ApiModelProperty(value = "头像url")
    private String imageUrl;//头像url


    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getVaildCode() {
        return vaildCode;
    }

    public void setVaildCode(String vaildCode) {
        this.vaildCode = vaildCode;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }


    public String getThirdAccount() {
        return thirdAccount;
    }

    public void setThirdAccount(String thirdAccount) {
        this.thirdAccount = thirdAccount;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }
}
